is_signer

function is_signer(pubkey: byte_array): boolean

Deprecated

Use 'op_context.is_signer' instead

Check if a given public key is a signer of the current transaction; i.e. if it's in the list of signers returned by op_context.get_signers().

Return

true if the given public key is found, false otherwise

Since

0.6.0

Parameters

pubkey

the public key to check